package cate.game.role.pvp.pointrace.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBPointRace;

@ClientMsg(title = "积分赛战绩数据请求")
public class PointRaceMarkDataReq implements MsgInput {
    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.sendNow(new PointRaceMarkDataResp(cc.getRole().getPvp().pointRaceMark));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBPointRace.MARK_DATA_REQ;
    }
}
